package com.aoxin.model.course;

import java.math.BigDecimal;
import java.util.Date;

public class AloneCourse {
	/**
	 * key
	 */
	private String key;
	
    private Integer courseId;

    private String name;

    private String nickName;

    private String description;

    private String schoolId;

    private Integer courseType;

    private Integer state;

    private Integer upDownState;

    private Integer parentId;

    private Date salesStartDate;

    private Date salesEndDate;

    private Date effectiveStartDate;

    private Date effectiveEndDate;

    private Integer period;

    private Integer fitAge;

    private Integer endAge;

    private BigDecimal price;

    private BigDecimal discountPrice;

    private String remark;

    private Integer salesVolume;

    private Date createDate;

    private Integer hotState;

    private Integer newState;

    private Integer sequence;

    private Integer employeeId;

    private String employeeName;
    private String coursePageName;
    
    private Long downCount;
    
    private String className;
    
    
    private String briefIntroduction;
    /**
     * 是否可见
     */
    private String isVisible;
	
	
	public String getIsVisible() {
		return isVisible;
	}

	public void setIsVisible(String isVisible) {
		this.isVisible = isVisible;
	}
	public String getBriefIntroduction() {
		return briefIntroduction;
	}

	public void setBriefIntroduction(String briefIntroduction) {
		this.briefIntroduction = briefIntroduction;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public Long getDownCount() {
		return downCount;
	}

	public void setDownCount(Long downCount) {
		this.downCount = downCount;
	}

	/**
	 * 封面图
	 */
	private String coverPicture;

	
	public String getCoursePageName() {
		return coursePageName;
	}

	public void setCoursePageName(String coursePageName) {
		this.coursePageName = coursePageName;
	}

	public String getCoverPicture() {
		return coverPicture;
	}

	public void setCoverPicture(String coverPicture) {
		this.coverPicture = coverPicture;
	}


    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
        this.key = String.valueOf(courseId);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public Integer getCourseType() {
        return courseType;
    }

    public void setCourseType(Integer courseType) {
        this.courseType = courseType;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getUpDownState() {
        return upDownState;
    }

    public void setUpDownState(Integer upDownState) {
        this.upDownState = upDownState;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Date getSalesStartDate() {
        return salesStartDate;
    }

    public void setSalesStartDate(Date salesStartDate) {
        this.salesStartDate = salesStartDate;
    }

    public Date getSalesEndDate() {
        return salesEndDate;
    }

    public void setSalesEndDate(Date salesEndDate) {
        this.salesEndDate = salesEndDate;
    }

    public Date getEffectiveStartDate() {
        return effectiveStartDate;
    }

    public void setEffectiveStartDate(Date effectiveStartDate) {
        this.effectiveStartDate = effectiveStartDate;
    }

    public Date getEffectiveEndDate() {
        return effectiveEndDate;
    }

    public void setEffectiveEndDate(Date effectiveEndDate) {
        this.effectiveEndDate = effectiveEndDate;
    }

    public Integer getPeriod() {
        return period;
    }

    public void setPeriod(Integer period) {
        this.period = period;
    }

    public Integer getFitAge() {
        return fitAge;
    }

    public void setFitAge(Integer fitAge) {
        this.fitAge = fitAge;
    }

    public Integer getEndAge() {
        return endAge;
    }

    public void setEndAge(Integer endAge) {
        this.endAge = endAge;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(Integer salesVolume) {
        this.salesVolume = salesVolume;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getHotState() {
        return hotState;
    }

    public void setHotState(Integer hotState) {
        this.hotState = hotState;
    }

    public Integer getNewState() {
        return newState;
    }

    public void setNewState(Integer newState) {
        this.newState = newState;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	@Override
    public String toString() {
        return "AloneCourse{" +
                "courseId=" + courseId +
                ", name='" + name + '\'' +
                ", nickName='" + nickName + '\'' +
                ", description='" + description + '\'' +
                ", schoolId=" + schoolId +
                ", courseType=" + courseType +
                ", state=" + state +
                ", upDownState=" + upDownState +
                ", parentId=" + parentId +
                ", salesStartDate=" + salesStartDate +
                ", salesEndDate=" + salesEndDate +
                ", effectiveStartDate=" + effectiveStartDate +
                ", effectiveEndDate=" + effectiveEndDate +
                ", period=" + period +
                ", fitAge=" + fitAge +
                ", endAge=" + endAge +
                ", price=" + price +
                ", discountPrice=" + discountPrice +
                ", remark='" + remark + '\'' +
                ", salesVolume=" + salesVolume +
                ", createDate=" + createDate +
                ", hotState=" + hotState +
                ", newState=" + newState +
                ", sequence=" + sequence +
                ", employeeId=" + employeeId +
                ", employeeName='" + employeeName + '\'' +
                '}';
    }
}